Structural design of masonry structure